implement max size on panes, rework resizing attachment