Added an animateAll function.