transitionSpeed to speed