Validating destination pageIndex in the navigateToPageAtIndex: method