Tried to optimize animations