Interrupt and stop div scrolling on click using jquery
===

In my web app I have the inertia scrolling on divs enabled for webkit browsers. The problem is that when I click a button that executes a jquery function, if the div is still currently scrolling the function wont run until after it has come to a complete stop. Is there a way to interrupt and stop the div scroll in it's current position, the same way it works when a div is scrolling and then the user touches the screen? I'm assuming there is, but cant find exact code examples on how to do it.

Thanks in advance.