In progress -- fixing pane with ng-switch

Signed-off-by: Mark Thomas <markthethomas@gmail.com>