added 'index' info to transition complete callback