change window location to hash