Radiative acceleration of gas in quasars