shell: Use cockpit.navigator to track the URL hash.