use localStorage instead of cookies for show/hide of TOC