   e.preventDefault()
   e.stopPropagation()
   return
+
+
+
+onWheel = (e) ->
+  if wheelTimer then clearTimeout wheelTimer
+
+  if not scrolling then startScrolling.call @, e
+
+  wheelTimer = setTimeout ->
+    stopScrolling()
+  , WHEEL_TIME
+
+  onMove.call @, e
+
 
 
 

  prefix @root.firstChild, 'transform', "translateY(#{-offset}px)"


ypos = (e) -> e.targetTouches[0].clientY




reference = 0


startScrolling = (e) ->
  scrolling = true
  reference = ypos e
  max = parseInt(getComputedStyle(@root.firstChild).height) - window.innerHeight


stopScrolling = ->
  scrolling = false


###*
# `touchstart` handler for scrollable view.
#
#
###
onTouchStart = (e) ->
  startScrolling.call @, e
  e.preventDefault()
  e.stopPropagation()
  return
