changed to autosize panes