transitionDuration changed when document loaded