extract sidebar to external files