 
         event.preventDefault() if event.preventDefault
         event.originalEvent.dataTransfer.dropEffect = 'move'
-        $('.separator').css('visibility', 'hidden')
-        index = @list.$el.children().index(@$el)
+        $('.separator').css 'visibility', 'hidden'
+        index = @list.$el.children().index @$el
 
         pageY = event.originalEvent.pageY
         targetOffsetTop = event.target.offsetTop

        y = pageY - targetOffsetTop | offsetY
        limit = @$el.height() / 2

        index = @list.$el.children('.task').index(@$el)
        newIndex = index
        if(y > limit) && index > 0
            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

