fixes sidebar views, still need to fix sidebar click events