fixing sliding backwards paging