change legend position to right