Added transitionDuration setting.