Optimizing our animations