Changed detail layouts to ScrollView at the top of the hierarchy, allowing for smoother handling of device rotation.