fixed a bug that incorrect scrolling after sent message