$(window).scroll(function() {
clearTimeout($.data(this, 'scrollTimer'));
$.data(this, 'scrollTimer', setTimeout(function() {
// do something
console.log("Haven't scrolled in 250ms!");
}, 250));
});
// http://stackoverflow.com/questions/9144560/jquery-scroll-detect-when-user-stops-scrolling