Fixes failed scroll tests. Slightly change behaivior with scrollRegions
Merge branch 'master' into TermWriter