Now clicking on the navigation won't refresh the page