Fixed pagination class buttons.