Dynamic content_pane sizing