Pagination for timeline