Fixed viewport scrolling and updating lines