Toggle: Fix arrow key handling

Fixes #5403
Merge pull request #5754 from pjackson28/fixaccordion

Toggle: Fix arrow key handling