         y = pageY - targetOffsetTop | offsetY
         limit = @$el.height() / 2
 
-        index = @list.$el.children('.task').index(@$el)
+        index = @list.$el.children('.task').index @$el
         newIndex = index
-        if(y > limit) && index > 0
+        if y > limit
             newIndex = index + 1
 
             nextTask = $(@list.$el.children('.task')[index + 1])



        if(y <= limit)
            $(@list.$el.children()[index - 1]).css('visibility', 'visible')
        else
            $(@list.$el.children()[index + 1]).css('visibility', 'visible')

        return false


        else
            previousTask = $(@list.$el.children('.task')[index - 1])
            previousTaskID = previousTask?.prop 'id'

        draggedItemID = @list.draggedItem.model.id
        condition = (nextTaskID? and nextTaskID is draggedItemID) or
