Update stickyNav.js

Improved init and being able to deal with window resizing