basic back button functionality added