Update TOC after changing screen mode