Added animation to the view