Rookie Manuel caps Bills' 24-23 win over Panthers