Browser back button click event handling