US stocks waver between small gains and losses