Make the transition-duration configurable