Make address bar shows correct link and is scrolled to the top