Dynamics of domain structure in magnetic multilayers