       # and go!
       init.call @
 
-    # default options
+    # private methods and variables
 
     defaults =
       touchEnabled: true # enable touch events

      @slides[i]

    # get the currently visible slide
    getCurrentSlide: ->
      @slides[@current]

    # get the slide after the currently visible one
    getNextSlide: ->
      @getSlide @current + 1

    # get the slide before the currently visible one
    getPrevSlide: ->
      @getSlide @current - 1

    # get the first slide
    getFirstSlide: ->
      @slides[0]

    # get the last slide
    getLastSlide: ->
      @slides[@slides.length - 1]

    # goTo initiate an animation

    # go to the slide at index i
    goTo: (i, cb) ->

          if slideState === 1 then this is the currently visible slide and it must be visible
          ###
          slideElement.style.display = if slideState > 0 then 'block' else 'none'

    init = ->
      initContainer.call @
