update nav so that it becomes fixed when a user scrolls down