Stocks drifted higher on Wall Street in midday trading Thursday, as gains in tech companies and retailers helped boost the market. The S&P 500 rose less than 0.1%. The benchmark index is coming off a three-day winning streak.