Thai edit class Lib_paging to limit numper of page