title: How to differentiate between Scrolling by Mouse and scrolling done by dragging a window's scroll in javascript/jQuery
body: <p>I have a functionality to implement based on scrolling.
  Here is small snippet ::</p>
  
  <pre><code>$(window).bind('scroll',function(event)
  {
    console.log(event.type);
    //Task to do
  }
  </code></pre>
  
  <p>Here I want to differentiate that whether the binding is done by mouseScroll or by dragging a scroll.
  By inspecting the event.type both are returning me "scroll" as event type.</p>