Why not use the index directly?
Getting the view controller's navigation controller to find the index feels hacky.