improving logTable pagination