added row numbers to pagination