extract local var
ChildPositionCalculator for Y
ContentHeightSum
calculate X in ChildCalculator class, some refactorings
minor refactoring