add a close button in the photo view