- added swipe gesture for detail page