public void ScrollToFirst()
    {
        GameObject parent            = transform.parent.gameObject;
        CustomHorizontalScrollSnap h = parent.GetComponent <CustomHorizontalScrollSnap> ();

        h.GoToScreen(0);
    }
    public void ScrollToMe(bool animating = true)
    {
        GameObject parent            = transform.parent.gameObject;
        CustomHorizontalScrollSnap h = parent.GetComponent <CustomHorizontalScrollSnap> ();

        int page = (int)Math.Ceiling((float)myIndex / (float)ItemsPerPage) - 1;

        if (myIndex == 0)
        {
            page = 0;
        }

        if (animating)
        {
            h.GoToScreen(page);
        }
        else
        {
            h.CurrentPage = page;
            h.UpdateLayout();
        }
    }