adjust legend width