set a max width for messages