updating chatbox height