moves content into appropriate panes