fix for smooth scrolling in IOS