fix glitchy toggle between master and first slave

Toggling between them caused it to jump to the last slave on switching
back instead of switching to the first one. Workarounded by forcefully
setting prevfocus.