intelligent pane handles - issue #335