initial version of tabs with pagination