remove the flex insets and use layout instead