   return false
 
 
-performDrag = (callbacks) ->
+performDrag = (event, callbacks) ->
   start_drag_x = event.pageX
   start_drag_y = event.pageY
 


      # dragging
      if not skip_drag
        performDrag
          complete: (result, event) ->
            delta =
              top: 0

    $("#playlist-track-#{result.track_id}").addClass "border-#{result.direction}"

  onDragEnd = (event) ->
    return false unless event.button is 0

    if started_drag
      callbacks.complete getDragPosition(event.pageX, event.pageY), event
    else
