added sidebar to it's own file