Fix problem with close menu by swipe