disable swipe opening of right pane