fixed #830 wonky scrolling