Added TTScrollPagesDelegate and method didScrollToPageIndex