Power-law for gravity currents on slopes in the deceleration phase