add sidebar to index