Make back button behave consistently in browser search bar