improve scroller to work well in iOS safari environment