Easily control the behavior of any DOM element based on the document's scroll position