Adjust the sidebar to the right position