FoldingLayout widget for API 4+