add animation of view