Remember selection when paging.