Change to onhashchange