Optimized jQuery viewport selector plugin