added sidebar to template