US stocks bounce back to close with major gains