Create isScrolledIntoView(elem)