resize chat window to a smaller size