Fix the bug for Vertical Layout pagination on iOS