Scroll position detection & triggering module
Tracking the bounding rectangle of some elements...
...and checking it against a given Y on the viewport...
...so we can do something when the top edge of an element...
...intersects an imaginary 'trigger line'...
...such as adding or removing a CSS class...
...and all in a hopefully performant and non-scrolljacky way.