Added a transition mixin to the function library