encoder button now toggles mode