Fix ScrollToBuyUpgrades to check length of pages instead of using hardcoded value
0.14.2