move the code and result into a single pane