Know when a DOM element is inside the viewport.