How to make a element snap into place interaction

Hey, I was looking to create an interaction by scrolling through elements or by scrolling similarly between full viewport ‘pages’. Sorry if my terminology is bad, I’m not quite sure how to describe the interaction in question.

On this site if you click the middle icon on the homepage it brings up a nav menu that scrolls through its options; snapping into place one at a time each time the menu is scrolled instead of one linear progression. Thats the effect I am looking for. How would you approach building it?