added more constraints at setCurrentItem()