added support for the browsers' back button