adding automatic advancer in tabs