separate sidebar in a new file, fix other view files