Handle responsive layouts in demo