https://wottrigger3positionupgrade.pages.dev/posts/auto-switch-panel/