improves units animation