 
     @trigger 'sfx:play', 'button'
     @trigger 'scene:change', 'difficulty'
+
+  enableOrDisablePagingButtons: ->
+    if 0 < @page < @totalPages
+      @$('.next').removeClass 'disabled'
+      @$('.previous').removeClass 'disabled'
+    else
+      @$('.next').addClass 'disabled' if @page is @totalPages
+      @$('.previous').addClass 'disabled' if @page is 0
 
   showLevelInfo: ->
     # TODO move this elsewhere


  animateThumbnails: (direction = "") ->
    opposite = if direction == "-" then "" else "-"
    delayTime = if direction != "-" then @perPage * 100 else 0

    # Move existing thumbnails off
    @canvases.parent('.group').css('z-index': 0)

    if @page > 0
      @page -= 1

      @trigger 'sfx:play', 'button'
      @enableOrDisablePagingButtons()
      @animateThumbnails("-")

  next: (e) ->
