move legend