Vikings reach playoffs with win over Giants