added navbar on scroll and history.js