fixed nav to the right and made scroll functions work on click