Fix scrolling on empty scrollview.
Merge pull request #1866 from matham/scroll-empty

Fix scrolling on empty scrollview.