jQuery plugin: executes a callback when element is on viewport