           # Set the element transform to where it is right now.
           @animateTo(transform.m42)
 
-      snapToBounds: () ->
+      snapToBounds: ->
         offsetY = @getCurrentContentOffsetY()
         d = @getTouchDirection()
-        console.log d
         if d is -1 and @overBottomSnapLimit(offsetY)
           contentHeight = @contentHeight()
           parentHeight  = @viewportHeight()

        console.log "startMomentum", m if debug
        @cubicBezierAnimateTo(m.time,m.newY)

      stopMomentum: () ->
        if @isDecelerating()
          transform = @getCurrentTransform()
          # Clear the active transition so it doesn’t apply to our next transform.


      getEndVelocity: -> (@contentLastOffsetY - @contentStartOffsetY) / ((new Date).getTime() - @startTouchTime)


      cubicBezierAnimateTo: (time,newY) ->
        @element.style.webkitTransition = '-webkit-transform ' + time + 'ms cubic-bezier(0.33, 0.66, 0.66, 1)'
