Find if an element is completely visible in the viewport