using screen-size variables for grids