add main sidebar to template