animatedElement works