changing grid for mobile