Stocks pare gains as tech rebound fades