make panes resizable