   return
 
 
+startKineticScrolling = ->
+  velocity = amplitude = 0
+  frame = offset
+  scrollTimestamp = Date.now()
+  clearInterval scrollTicker
+  scrollTicker = setInterval track, TICK_INTERVAL
+
+
+track = ->
+  now = Date.now()
+  elapsed = now - scrollTimestamp
+  scrollTimestamp = now
+  delta = offset - frame
+  frame = offset
+  v = 1000 * delta / (1 + elapsed)
+  velocity = 0.8 * v + 0.2 * velocity
+
+
+
 ###*
 # Stops view scrolling.
 #

###
refHeight = 0


###*
# Start the view scrolling.

###
onTouchStart = (e) ->
  startScrolling.call @, e
  startKineticScrolling.call @
  e.preventDefault()
  e.stopPropagation()
  return
