revert part of 372e60 to improve responsive display
when done showing toc, return it to dynamic height
don't expand contents box vertically when not needed