legend moved to top