add tab and gallery