Fix transition-timing-function mixin

The mixin introduced in #12924 contains a bug I think.

While it is supposed to set the transition-timing-function attribute it's actually setting the animation-timing-function attribute.

This fixes that.