Added animation to elements