       if not @active.top.active? and e.diff.top>=@minActivate
         @active.top.active=true
       if @active.top.active
+        console.log "move top"
         @on.top e
 
 

    if e.right<=@space
      @active.right.down = true
    if e.top<=@space
      @active.top.down = true

  #Override: On Mouse move, check it was pressed and apply @on[direction] function

    @on.left e if @active.left.active
    @on.right e if @active.right.active
    @on.top e if @active.top.active
    console.log "deactivate all"
    @active = {} =
      left: {}
      right: {}
