fixes issues with responsive layout in chat area