fix sidebar toggling