fix transition speed and distance