make width of chat auto