Adjusting pagination event binding