iOS scrolling fix corner case