improve keyboard control of sidebar