renmed hasChanged to transitionComplete for clarity