insert only visible lines in dom
reverted visible content
some improvements