goto active tab only once