fix sidebar auto scrolling