emit pane-resize when hiding and showing panes
remove console.log