URL hash is updated when switching tabs