jQuery plugin to trigger action if element is visible while scrolling