Magnetic-field tunable transmittance in a ferrofluid-filled silicon nitride photonic crystal slab