Controlling the speed and trajectory of evolution with counterdiabatic driving