move legend from lower right to upper left, as per issue #4