added gesture to leave detailView upon tap