Done the method to convert the grid to its vertical version