title: Is it possible to measure the distance of the overflow scroll?
body: <p>The title refers to the scroll inertia found in most browsers when you scroll out of the document bounds.</p>
  
  <p>I would like to calculate span of the inertia, as in the max distance? More specifically, when the user scrolls to the top of page.</p>
  
  <p>If this is not possible, is it possible to just register a count of when this event happens? Any help would be greatly appreciated. </p>
  
  <p><a href="https://i.stack.imgur.com/hmjJe.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hmjJe.gif" alt="enter image description here"></a></p>