Make the box-model layout-view work with ios