class setup pagination event added