change will transition to did transion to keep track of index in details view controller