Tabs Widget possibility of Prev/Next buttons

Tabs Widget possibility of Prev/Next buttons

Using a standard JqueryUI Tabs widget is there a reasonable way to create buttons on each tab to go prev/next among the tabs?

I am creating pages with several tabs for user input. I would ideally like to enable the user to have prev/next buttons; additionally, I would like to add the tabs they have visited to a collection so that when they go to click "Submit" code can direct them to the first tab of the page not in the collection of visited tabs.