SAN FRANCISCO — Rookie Kelby Tomlinson wasn't sure how to react when his grand slam was replayed on the stadium video board. Veteran Marlon Byrd reminded him to smile and take in the moment. Tomlinson hit a slam for his first career home run and Byrd added a three-run shot, leading Madison Bumgarner and the Giants over the Cubs 9-1 on Thursday. "It was pretty crazy. Everybody got up and started clapping for me," Tomlinson said. "I'd never experienced anything like that." The Giants moved within 5½ games of the Cubs for the second NL wild-card spot. Bumgarner struck out 12 in six innings. He won his fifth straight start and matched the Cubs' Jake Arrieta for most victories in the majors. "I'm just going out there and competing," Bumgarner said. "Things are just going our way right now. I don't look at the month, I look from start to start." Tomlinson homered off James Russell in the eighth and received a standing ovation from the sellout crowd when he took his position at second base in the ninth. The Cubs lost a road series for the first since being swept by St. Louis in late June. They won or split their previous six road series.