added doAnimate to ui-view so when child views are loaded along with parent views, they get animated as a hole and not individually