Based on what is seen on the video I think you want to be able to change the state of groups in the header horizontal rg.
You can consider using conditional on those groups here (setting the number of pixels between the top and current page scroll position) to act as the trigger):

Current page scrolling position