Factored out tabs to widgets