InfiniteViewPager - Code refactoring and modify examples.

InfiniteViewPager 
- Code refactoring
- Modify related examples
- Fix issue : Fix that can't trigger onLoopPageSelected when scroll view.