Added slide transitions on clicking the back button