Kinetics of the shape change of magnetic field sensitive polymer gels