using two-pane structure throughout app
changed edit and view layouts