fixing grid for tablet