made it so that when one of the sidebars is shown, the gesture recognizer allows gestures to pass through to the sidebar