Tracks the visibility of an element on page scroll