back button for history view