jQuery plugin to check if an element is on screen or not