Fix performance of scrolling on older devices