dynamically calculate offset.
Add one indentation if collapse control is not present.