added onTransitionComplete callback; added "none" transition default; small code logic cleanup