Stocks moved mostly higher over the course of the trading day on Thursday, more than offsetting the modest weakness seen in the previous session. With the strength on the day, the tech-heavy Nasdaq reached a new record closing high.