changed ng-switch back to a ng-class based display:none for performance reasons