Make the chat window dynamic