listens to scrolling event and returns the element in the viewport