Increased the performance of animations