[fixes #143] support both new and old transitionTo method