fix scrolling issue after sending chat