optimized css animation performance a bit