split a line so it does not show a scrollbar