added comments for stickyChapters function