switch modes more automatically, hide OverlayPeriodic when not in use