U.S. stocks headed higher Friday as the market bounced back from a heavy selloff in the previous session.