When the document scrolls it compares the scroll position to the stored offset positions.
If an article is close enough to the scroll offset it's highlighted.