Vikings end losing streak against Packers