swap change for detail toggle to sm-max instead of sm-min