renamed to scrollEvents (since it fires jquery events now)

sets up scrollup and scrolldown events on an object, they fire less frequently than the browser's normal scroll event. To make the check more or less frequent change the setTimeout from 200 to the desired interval.

It can be called like this:
$(window).scrollEvents().on("scrolldown", function(){console.log("window scrolled down");});