fixed scrolling compatibility issue