can you add a reason in a comment?

something like:
```
// this order is important so that js animations can't change element style and confuse us
// when computing styles to figure out transition duration
```