An implementation of rolling table of contents