shortened a line in text box to avoid scrollbar