fix overflow issue of Table of contents of left panel