added gesture to detail view