fix swipe  right  to close bug