William Nylander scored the deciding goal between his legs to lift the Maple Leafs to a 4-3 win over the Lightning.