fix grid paging layout