fixed swipe to close