changes in subgrid for scrolling