add sidebar to teacher