Interfacial dynamics of ferrofluids in Hele-Shaw cells