Added swipe to dismiss action