Update stickyNav.js

added data attribute check