why not make `transition-opening` and `transition-closing` part of the array?