Implementation of the view for table of contents