controlled use of back button to reverse navigate through app