split sidebar to its file