Actually i want if tab has child tab then next button should move next child tab first then parent tab.