Added swipe to dismiss gesture on detail page