Change picture layout and back button functionality.