fixed bug with resizing chat div