     prev: ->
       @show_banner @prev_banner()
 
-    create_timer: ->
+    start_automatic_scrolling: ->
       @timer = new AutomaticScroller this, 2000
 
-    restart_timer: ->
+    stop_automatic_scrolling: ->
+      @timer.destroy()
+
+    restart_automatic_scrolling: ->
       @timer.destroy().create()
 
     show_banner: (id) ->

# Features remaining:
# - Timer for automatically rotating
# - Pause button
# - Loading before and after image after first is loaded
# - Option to switch to particular slide?
#
# Done:
# - Fade out
  #
  # var fadeTimeOut;
  # function setFadeoutTimer() {


    initialize_callbacks: ->
      @next_button.click =>
        @stop_automatic_scrolling()
        @next()

      @prev_button.click =>
        @stop_automatic_scrolling()
        @prev()

    get_banner_data: ->
