Update stickyNav.js

Missing some core code