Implemented swipe to dismiss feature. Works.