moved sidebar into views