Fixed the issue with UIPageViewController