While stocks largely recovered from an early move to the downside, the tech-heavy Nasdaq remained stuck in negative territory. The Dow and the S&P 500 managed to finish the session moderately higher.