Added resize for the chat window