add a function '(void)carousel:(iCarousel *)icarousel didSrollItemAtIndex:(NSInteger)index' to the icarousel delegate. called in didScroll function