ensure that the container doens't move if pane is open