This is a plugin for jquery to add mouse scroll up and down event
$(document).on('scrollUp',function(){
alert("scroll up event");
});
$(document).on('scrollDown',function(){
alert("scroll down event");
});
Jquery Scroll Detector is open-source plugin licensed under the MIT license