Make a scroll container have a scroll event. On scrolling ( mouse scroll wheel or touch input ) inside a scroll container, move this or resize this or change this - in my case move my app menu out of frame. Ex. safari browser bar at the bottom of the page, on scrolling down it disappears.
EDIT: Detection of scroll direction and hooking a animation to each direction individually.