       @slides[i]
 
     # get the currently visible slide
-    getCurrentSlide: ->
-      @slides[@current]
+    getCurrentSlide: -> @slides[@current]
 
     # get the slide after the currently visible one
-    getNextSlide: ->
-      @getSlide @current + 1
+    getNextSlide: -> @getSlide @current + 1
 
     # get the slide before the currently visible one
-    getPrevSlide: ->
-      @getSlide @current - 1
+    getPrevSlide: -> @getSlide @current - 1
 
     # get the first slide
-    getFirstSlide: ->
-      @slides[0]
+    getFirstSlide: -> @slides[0]
 
     # get the last slide
-    getLastSlide: ->
-      @slides[@slides.length - 1]
-
-    # goTo initiate an animation
+    getLastSlide: -> @slides[@slides.length - 1]
+
+    # goTo* initiates an animation
 
     # go to the slide at index i
     goTo: (i, cb) ->

      animateSlides.call @, currentSlide, targetSlide, {direction}, cb

    # go to the next slide
    goToNext: (cb) ->
      @goTo @current + 1, cb

    # go to the previous slide
    goToPrev: (cb) ->
      @goTo @current - 1, cb

    # go to first slide
    goToFirst: (cb) ->
      @goTo 0, cb

    # go to last slide
    goToLast: (cb) ->
      @goTo @slides.length - 1, cb

    # class methods


      # and go!
      init.call @

    # private methods and variables

    defaults =
      touchEnabled: true # enable touch events
