Content borrowed from airbnbs inifity.js project
For demonstration purposes the scroll blocker element is set to red so you can visually see that it is always sitting over the top of your content. On scroll this element has pointerEvents set to auto so as not to allow the mouse to peak through.
Click the button below to initialise the scroll blocking.