Refactor center-pane into directive
WIP: pane selector as directive, pane functions as service
Finish pane selector refactor