       index = $(e.currentTarget).data 'carousel-figure-index'
       @shiftRight() if index > @active
       @shiftLeft() if index < @active
-    false
 
   # Shift the carousel on clicks unless the artwork is the currently selected.
-  dotClick: (event) ->
-    unless @inTransition
-      @setActive @$(event.target).data('carousel-dot-position')
+  dotClick: (e) ->
+    unless @inTransition
+      @setActive @$(e.target).data('carousel-dot-position')
       @shiftCarousel()
-    false
-
-  leftArrowClick: (event) -> @shiftLeft(); return false
-  rightArrowClick: (event) -> @shiftRight(); return false
 
   swipeStart: (e) ->
     e.preventDefault()


    @$track.css props

  keyUp: (event) ->
    switch event.keyCode
      # left arrow and the h key
      when 37, 72
        @shiftLeft()
      # right arrow and the l key
      when 39, 76
        @shiftRight()
    false

  shiftLeft: ->
    unless @inTransition

  events:
    'click .carousel-dot': 'dotClick'
    'click .carousel-figures .carousel-figure': 'figureClick'
    'click .carousel-pre-decoys .carousel-figure': 'shiftLeft'
    'click .carousel-arrow-left': 'shiftLeft'
    'click .carousel-post-decoys .carousel-figure': 'shiftRight'
    'click .carousel-arrow-right': 'shiftRight'
    'touchstart .carousel-figures-clip': 'swipeStart'
    'touchend .carousel-figures-clip': 'swipeEnd'

