After moving notably higher over the two previous sessions, stocks showed a lack of direction throughout much of the trading session on Thursday. The major averages spent the day bouncing back and forth across the unchanged line before closing mixed.