Convert layout to slim