you can play with hype viewport-behaviors to react on elements coming in view.
this is a modern hype-approach to react on elements positions regarding the viewport: