fix sidebar focus issue