move the legend