Simple plugin to check if element is in view