updated scroll positioning on log change