Handle the Back key to navigate back in the browsing history