Moving legend in the middle of the page