Third quarter surge sends Titans over Rams