fix scrolling on iOS per @evenwu