only scroll logs if container scrolled to bottom