position legend to reposition dots