Hydro-magnetic combined convection in a lid-driven cavity with sinusoidal boundary conditions on both sidewalls