As described, if element being checked is longer than the window browser, it returns false when top and bottom of element are not visible.