prevent adding browser history on change hash