updated space_layout for responsiveness