Avoid to switching the pageControl by tapping left or right