fixed small bug with auto scroll