 
   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)


      _.delay =>
        canvas.animate({
          transform: "translateX(#{direction}#{@width}px)"
        }, "fast", "ease-in-out")
      , delayTime


      # Start offscreen
      canvas.animate({
        "-webkit-transform": "translateX(#{opposite}#{@width}px)" # Bug with Zepto/Safari
        transform: "translateX(#{opposite}#{@width}px)"
      }, 0)

      _.delay ->
        canvas.animate({
          "-webkit-transform": "translateX(0)" # Bug with Zepto/Safari
          transform: "translateX(0)"
        }, "fast", "ease-in-out")
      , delayTime
