Change matrix width for mobile devices.