improved animation performance