added tableview to photo detail fixed singleton to be outside block and changed storyboard