panes function

Prepare a "panel" type layout