fixed css flexbox wrap safari and fallback to firefox