Moved the pagination class to the UL instead of the DIV