limit the amount of text displayed