On the control of layered flow of a viscous incompressible fluid within MHD