added an ng-if and changed up some of the animation