onhashchange event

Implemented a function on hash change which definitely handles the
browser's navigation buttons independently of everything else, keeping
the transitions seamless.