Fixed bug that allowed scrolling to go too high during loading