Restoring and tailoring very high dimensional spatial entanglement of a biphoton state transmitted through a scattering medium