Implemented swipe down for cancelling