optimize new messages scrolling method