jQuery plugin which fires an event when an element scrolls into or out of view