Making CSS Transitions More Snappy

Changed the timing of the CSS transitions to make the TOC feel smoother.