Dow rallies triple digits and S&P 500 turns positive for the year