page switching, add tab