Added the pagination class to the ul