fixed TOC behavior
fixed TOC positioning bug