fixing inertia scroll and display on ios