As a sticky navigation is decreasing the visible content height, its a common way to only show when the user scrolls up (user propably wants back or is searching sth.), instead of showing it also when scrolling down. Example: https://bernardzitzer.com/
This might help for fast integration: http://jsfiddle.net/mariusc23/s6mLJ/31/