hi, you could achive what you described, by defining two seperate toggles (forward one for ctrl f5, backward one for ctrl f6), and synchronising the one you didn't activate with
with <SetToggle>.