Added the ability to choose whether sublayers are toggled on by default

This pull request will change the config, controller, and the TOC to fix the toggle of sublayers.