Added a page transition and back button navigation