Hello my friend,
did you already found a solution on your own ?
I f not you can generate a similar function in several ways.
By using the same technique like in the shown example in my post above.
You can use “ANCHORS” and place them in right positions and then start EVENTS when one of this ANCHORS —> LEAVES or ENTERS the VIEWPORT.
When event is started you can add to this event your own function, which for example SCROLLS-TO ----> NEXT ANCHOR (the SCROLLING-EFFECT is done)