Index changing callback on direct nav