Added swipe gestures to open and close the side menu.