fix wrong page when opening horizontal then quickly swipe