Rayleigh-number evolution of large-scale coherent motion in turbulent convection