fix bugs of UIPageView