support protocol when did selected view controller at index