only auto-scroll log if at bottom