Learn more about cloning repositories
You have read-only access
change to scrollTop check at 1 instead of 0, so that refresh of history doesn't automatically trigger it.