fixed the scrollRatio