add pagination class to v2 ul