Issue #168: Add option to toggle layer menu in the TOC