fix log scroll