Finding position of cursor with window scroll
<p>Is there any way to find the cursor is at the top of a HTML element with window scroll function. </p>

<p>EDIT: I have to call the below script to suspend the window scroll function if the cursor is at the top of one div:</p>

<pre><code>document.addEventListener('DOMMouseScroll', function(e){
   console.log(e);
   e.stopPropagation();
   e.preventDefault();
   e.cancelBubble = false;
   return false;
}, false);
</code></pre>
