Some PDFs (especially textbooks) contain hundreds (if not thousands) of entries in the Table of Contents. So, when all the headings are expanded, it becomes very difficult to find the desired entry.
So, please add the ability to collapse the headings in the ToC so that it becomes easier to find the desired entry.