Component to determine if an item is currently visible on a page