refactor(pane-layout): Refactor how pane layout was implemented.