Add new protocol methods

- (BOOL)infiniteScrollViewShouldScrollPreviousPage:(GBInfiniteScrollView *)infiniteScrollView;
- (BOOL)infiniteScrollViewShouldScrollPreviousPage:(GBInfiniteScrollView *)infiniteScrollView;
- (void)scrollToPageAtIndex:(NSUInteger)index animated:(BOOL)animated;
Add new protocol methods
- (BOOL)infiniteScrollViewShouldScrollPreviousPage:(GBInfiniteScrollView *)infiniteScrollView;
- (BOOL)infiniteScrollViewShouldScrollPreviousPage:(GBInfiniteScrollView *)infiniteScrollView;
- (void)scrollToPageAtIndex:(NSUInteger)index animated:(BOOL)animated;
Update README.md
Fix scrollToPageAtIndex:animated method.
Merge branch 'master' of https://github.com/gblancogarcia/GBInfiniteScrollView
Change demo project settings.
adding pan gesture and delegate callBack
Merge pull request #27 from carltaylor43/master

adding pan gesture and delegate callBack
Update content size when the frame size changes
Merge pull request #28 from thefind/update-content-on-size-change

Update content size when the frame size changes
Merge pull request #5 from gblancogarcia/master

Pull
Bugfix for the issue that didn't let the pages center correctly.
Merge pull request #30 from 942v/master

Bugfix
Setting pageIndex now works correctly in all cases.

Fixed lastPageIndex so it does not return MAXINT when there are no pages. The reloadData method now updates the number of pages before it updates the current page index.
Merge pull request #31 from thefind/fix-initial-page-index

Setting pageIndex now works correctly in all cases
fix the tap gesture recognizer nor work.
Merge pull request #32 from xhzengAIB/master

fix the tap gesture recognizer nor work.
1.8 version
Handle rotation

- GBInfiniteScrollViewPage specifies autoresizingMasks for contentView, imageView, and textLabel
- GBInfiniteScrollView ensures that page frame sizes are set correctly during placement
- Host application needs to call resetLayout at the appropriate point during rotation
Merge pull request #33 from sstorkel/master

Handle rotation