updated grid to fit the screen