adding animation to ui-view