change behavior of scroll error detection. Fixes #18