chat layout tuning