added config constants into Pagination;