updates to left and right pagination