toggling the photo to hide and unhide