fix #13185 - keyboard support for carousel

Yeah, but the semicolons aren't that elegant.