add pagination for category maintenance