change pagination position