Determine if an element is in the visible viewport