change location of legend