Moved sidebar to template.