Detection of out of viewport HTML elements