Set initial tab index