Made chat layout much more stable for desktop. Now working on how to improve the chat layout