[Scrollable] option inlineContent
[Scrollable] improved DOM building
[Core] minor fix in the condition