       "mouseup"   : @mouseUp
 
     $(@target).on 
-      "mouseup"   : @mouseUp
       "mousedown" : @mouseDown
       "mouseenter" : @mouseEnter
       "mousewheel" : @mouseWheel

  # stores the callbacks for mouse movement in each dimension
  changedCallbackX : $.noop()
  changedCallbackY : $.noop()
  changedCallbackR : $.noop()
  changedCallbackMW : $.noop()
  activeCallback : $.noop()



  # gets the relative mouse position as parameter
  ###
  bindR : (callback) ->
    @changedCallbackRightclick = callback

  ###
  #Binds a function as callback when mousewheel was changed
  #@param {Function} callback :
  # gets the delta as parameter
  ###

  bindW : (callback) ->
    @changedCallbackMouseWheel = callback

  unbind : ->
    $(@target).off 
