added animation on ng-hide and show