paging forward and back, still some bugs