chore(pagination): move helper method to utils and rename private properties