   -b
 
 
-
+###*
+# Handles actually scrolling the view by obtaining the correct offset and
+# translating the view accordingly.
+#
+# @param {number} y - The new scroll offset.
+#
+# @function scroll
+# @inner
+###
 scroll = (y) ->
   if y > max
-    #console.log elastic(y, max)
     offset = y + elastic y, max
   else if y < min
     offset = elastic y, min
   else
     offset = y
   prefix @root.firstChild, 'transform', "translateY(#{-offset}px)"
-
-
-
+  return
+
+
+###*
+# Extracts and returns the "y position" of a movement event.
+#
+# @param {Event} e - The wheel or touch event which "scrolled" the view.
+#
+# @returns {number} The new "y position."
+###
 ypos = (e) ->
   if e.targetTouches
     e.targetTouches[0].clientY

SCROLLABLE_CLS = vars.readPrefixed 'scrollable/scrollable-class'



###*
# Inner boolean flag indicating that scrolling is in-progress. Only one is
# required because the user isn't able to scroll multiple scollables

  return


###*
# `touchend` handler ends scrolls initiated by a touch event.
#
# @param {TouchEvent} e - The touchend event.
#
# @function onTouchEnd
###
onTouchEnd = (e) ->
  stopScrolling()
