added topPadding and leftPadding for ScrollContainer