On scroll, we still need to add new lines into the line array if the dontScroll is true