this will cause the autohide panels to toggle every 20 secs
Did more tests, and there are some issues that need to be addressed.
1. If it's included in the code, it gets turned on when the TM starts without having to click on it.
2. There's no way to stop the auto-changing unless closing the view.
3. Even if it would be possible to start and stop it, it would be hard to know which state it is on especially with a long interval.
For #1, It shouldn't get turned on when TM starts and only get turned on with a click. Maybe separating this into a new onClick command (AutoSwitch) would work better.
For #2, It should toggle to on and off upon clicking on it.
For #3, visibleTrigger="AutoSwitchOn" and "AutSwitchOff" are needed to indicate the status of the button or text.