[UI] Added more gestures for hiding sidebar.