This version is old school.
Please find jQuery plugins on npm.
ScrollNav
by Dylan Knutson
Easy auto-hiding and showing of the navigation bar as the user scrolls.
Easy auto-hiding and showing of the navigation bar as the user scrolls.