Add logic to only scrollTo a line if it exists in a file