       @index = @scroller.getPage()
       @scrollerPageUpdated(@scroller.getPage())
       @transition()
-    closestIndexChanged: (closestIndex) =>
-      @index = closestIndex
-      @scrollerPageUpdated(closestIndex)
+    closestIndexChanged: (closest_index) =>
+      @index = closest_index
+      @scrollerPageUpdated(closest_index)
 
   scrollerPageUpdated: (index) ->
     # do nothing - used in infinite scroller
 
-  transition: =>
+  transition: ->
     super()
     @scroller.setPage(@index, false)
 

# PROTECTED #

  createScrollDelegate: =>
    updatePosition: ( positionX, positionY, isTouching ) =>
      @pressed_and_didnt_move = false
    touchStart: =>
      @pause()

    @initializeScroller()

  initializeScroller: ->
    scroll_options =
      isPaged: true,
      defaultOrientation: utensils.TouchScroller.HORIZONTAL,
      scrollerDelegate: @createScrollDelegate(),
      disabledElements: "img",
      pagedEasingFactor: 4
    @scroller = new utensils.TouchScroller(@el[0], @slider[0], scroll_options)

# PUBLIC #

