improve chat layout