fix a back-button paging bug