I'm trying to create a 'sticky' menu that appears after a certain breakpoint and scrolls according to the user scrolling.
Basically, when you first start scrolling on the page, the menu should disappear relatively with the page (scroll up normally) but after a breakpoint has been reached, the menu should slide down according to how the user is scrolling.
An example of the animation is the menu on the videinfra.com site. The menu translates according to the same number of px that the user scrolls up.
I'm currently setting the menu's position to relative before the breakpo