private void OrganiseViews()
{
if (ChildCount <= 0) return;
if (ChildCount == 1)
{
var foreground = GetChildAt(0);
OrganiseBackgroundView(null);
OrganiseForegroundView(foreground);
}
else if (ChildCount == 2)
{
var background = GetChildAt(0);
var foreground = GetChildAt(1);
OrganiseBackgroundView(background);
OrganiseForegroundView(foreground);
}
else
throw new InvalidOperationException("ParallaxScrollView can host only two direct children");
}