changed scrolled text line method