added sidebar to show templates