Dismiss master view when a photo is selected.