What is a good script for the menu to appear when you scroll up?

Need a script that will show the menu when you scroll the page up, such as mozile for phone.
The main condition to work properly on all devices. Found one quite a while, but it's on ios not working, there was something with offset trouble.
July 8th 19 at 16:31
2 answers
July 8th 19 at 16:33
duck this script in 10 minutes to distribute?
July 8th 19 at 16:35
postovoy.net/6-jquery-plaginov-fiksirovannyh-menyu.html - what you want)).
I took Auto-Hide Sticky Header. It normally works everywhere.

Find more questions by tags JavaScriptjQueryCSS