add resizing of panes