"Scrollytelling" is the term you're looking for - The Pudding did a solid walkthrough of a few libraries [1], and I've found scrollama [2] to be a solid bare-bones library. This talk [3] is a few years old, but it's a good one for seeing some different approaches scrollytelling can take.
[1] https://pudding.cool/process/how-to-implement-scrollytelling...
[2] https://github.com/russellgoldenberg/scrollama
[3] http://vallandingham.me/scroll_talk/examples/