Update stickyNav.js

- replaced position() with offset() to determine location
- defined width of object