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


      # 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
