Have to account for when the res container is smaller than the details container.