created back button for Gallery