fix jqgrid pagination bug