fix the content view go to top not working issue on iOS