PHP pagination class with Bootstrap 4