basic table of contents collapsing with animation and css changes