public void SelectBrowsingSection(int type)
 {
     currentBrowsingSection = type;
     if (type == 0)
     {
         CurrentSelectionPanel = isMale ? MainClothesPanel : FemaleClothesPanel;
     }
     else if (type == 1)
     {
         CurrentSelectionPanel = isMale ? MainColorsPanel : FemaleColorsPanel;
     }
     else if (type == 2)
     {
         CurrentSelectionPanel = isMale ? MainBodyPanel : FemaleBodyPanel;
     }
     else if (type == 3)
     {
         CurrentSelectionPanel = MainDetailsNamePanel;
         faceShapeSliders[currentFaceShapeSliderIndex].gameObject.transform.parent.parent.gameObject.SetActive(true);
         NextItemButton.SetActive(true);
         PreviousItemButton.SetActive(true);
         ConfirmItemButton.SetActive(true);
         FinalizeSelection.SetActive(false);
         ZoomInOnFace();
     }
     else if (type == 4)
     {
         CurrentSelectionPanel = ExtrasPanel;
     }
     MainSelectionPanel.SetActive(false);
     CurrentSelectionPanel.SetActive(true);
     FinalizeSelection.SetActive(false);
     GoBackButton.SetActive(true);
 }
 public void GoBackToMainSelection()
 {
     GoBackButton.SetActive(false);
     ConfirmItemButton.SetActive(false);
     faceShapeSliders[currentFaceShapeSliderIndex].gameObject.transform.parent.parent.gameObject.SetActive(false);
     NextItemButton.SetActive(false);
     PreviousItemButton.SetActive(false);
     CurrentSelectionPanel.SetActive(false);
     MainSelectionPanel.SetActive(true);
     FinalizeSelection.SetActive(true);
     ZoomOutOnFace();
 }
        // end of specific functions for details

        public void ConfirmItem()
        {
            if (currentBrowsingSection == 3)
            {
                NextItemButton.SetActive(false);
                PreviousItemButton.SetActive(false);
                CurrentSelectionPanel.SetActive(false);
                faceShapeSliders[currentFaceShapeSliderIndex].gameObject.transform.parent.parent.gameObject.SetActive(false);
                MainSelectionPanel.SetActive(true);
                FinalizeSelection.SetActive(true);
                ConfirmItemButton.SetActive(false);
                return;
            }
            ZoomOutOnFace();
            TogglePickItem(false);
        }