moving sidebar to a separate file