add top-right position of legend