Delayed C-Section and Brain Damage: When Emergency Cesareans Come Too Late

When complications arise during labor and delivery, every second counts. An emergency cesarean section (C-section) can be a life-saving intervention—but only when performed in time. When medical professionals delay a necessary C-section, the consequences can be devastating, potentially causing permanent brain damage to the newborn.

Understanding the critical timing standards for emergency C-sections, how delays cause brain injury, and when such delays constitute medical negligence can help parents navigate this difficult situation and protect their legal rights.

Understanding Emergency C-Sections and Timing Standards

What Is an Emergency C-Section?

An emergency C-section is an urgent surgical delivery performed when continuing vaginal labor poses immediate risks to the mother, baby, or both. Unlike planned C-sections scheduled weeks in advance, emergency cesareans respond to sudden complications that arise during labor and delivery.

Medical professionals must recognize warning signs quickly and act decisively. Common indicators requiring emergency C-section include abnormal fetal heart rate patterns, prolapsed umbilical cord, placental abruption, uterine rupture, and failure of labor to progress despite intervention.

The 30-Minute Rule: Fact or Myth?

For decades, medical professionals have referenced the “30-minute rule”—the standard that hospitals should have the capability to begin an emergency C-section within 30 minutes of the decision to operate. But what does current medical guidance actually say?

Important Update: The American College of Obstetricians and Gynecologists (ACOG) clarified in their 2017 Guidelines for Perinatal Care that the 30-minute standard is not evidence-based. ACOG now states that “the decision-to-incision interval should be based on the timing that best incorporates maternal and fetal risks and benefits” and should be “tailored to local circumstances and logistics.”

The 30-minute benchmark originated in 1988 from the sixth edition of ACOG Standards for Obstetric Services, based on hospital feasibility surveys—not clinical outcomes or the physiology of obstetric emergencies. Research published in the American Journal of Obstetrics & Gynecology confirms this time frame came from 1980s hospital capability data rather than evidence about patient outcomes.

While ACOG no longer mandates a rigid 30-minute window, hospitals must still have systems in place to respond rapidly to true obstetric emergencies. Some situations demand action in 10-18 minutes, while others may allow slightly more time without compromising outcomes.

Decision-to-Incision Time Explained

Decision-to-incision (DDI) time measures the interval from when the attending physician decides an emergency C-section is necessary to when the surgeon makes the first incision. This metric matters because it reflects how quickly the medical team can mobilize to address a life-threatening situation.

Several factors influence DDI time:

  • Operating room availability: Is a surgical suite immediately ready, or must staff prepare one?
  • Anesthesia preparation: Converting epidural to surgical anesthesia takes time; general anesthesia works faster but carries additional risks
  • Surgical team assembly: Gathering the obstetrician, anesthesiologist, nurses, pediatrician, and support staff
  • Patient preparation: Moving the patient to the OR, positioning, and surgical site preparation

The urgency classification matters tremendously. Category 1 emergencies (immediate threat to life) demand the fastest possible response, often within 10-20 minutes. Category 2 situations (maternal or fetal compromise without immediate threat) may reasonably take 30-45 minutes.

How Delayed C-Sections Cause Brain Damage

Oxygen Deprivation and Hypoxic-Ischemic Encephalopathy

The developing brain is extraordinarily vulnerable to oxygen deprivation. When complications during labor interrupt the baby’s oxygen supply—whether from placental problems, umbilical cord compression, or prolonged labor—brain cells begin dying within minutes.

This oxygen starvation leads to hypoxic-ischemic encephalopathy (HIE), a type of brain damage caused by reduced oxygen (hypoxia) and decreased blood flow (ischemia) to the brain. According to the National Institute of Neurological Disorders and Stroke, HIE affects approximately 1 to 6 infants per 1,000 births, translating to 9,000 to 12,000 newborns annually in the United States.

Critical Fact: Research shows that 40-60% of infants affected by HIE either die by age 2 or develop severe disabilities. Among survivors, approximately 80% of those with severe HIE develop serious long-term complications.

When fetal distress signals appear on monitoring equipment, the clock starts ticking. Delay in performing the necessary C-section allows oxygen deprivation to continue, worsening the extent of brain injury.

The Progression of Brain Injury

Brain damage from delayed C-section doesn’t happen all at once—it progresses in stages:

Stage 1: Initial Oxygen Deprivation (0-10 minutes)
The baby’s heart rate becomes abnormal as the body attempts to compensate for reduced oxygen. Fetal monitoring shows concerning patterns: bradycardia (slow heart rate), late decelerations, or loss of variability. At this stage, immediate intervention can often prevent permanent damage.

Stage 2: Cellular Energy Failure (10-30 minutes)
Without sufficient oxygen, brain cells cannot produce energy. Cellular metabolism shifts to less efficient pathways, producing toxic byproducts. Brain tissue begins to swell. Damage becomes increasingly likely but may still be partially reversible with rapid delivery.

Stage 3: Cell Death and Permanent Injury (30+ minutes)
Prolonged oxygen deprivation causes irreversible brain cell death. The injury extends beyond the initial affected area as inflammation and swelling spread. This stage typically results in permanent neurological damage.

Stage 4: Secondary Injury Phase (6-72 hours after birth)
Even after delivery, a cascade of secondary injuries continues. Brain swelling, seizures, and inflammatory processes can worsen the initial damage. This is why therapeutic hypothermia (cooling treatment) must begin within 6 hours of birth for maximum effectiveness.

Critical Time Windows

Not all delayed C-sections result in brain damage—timing matters enormously. A 20-minute delay in a mild fetal distress case may have no consequences, while the same 20-minute delay during severe placental abruption could be catastrophic.

The severity of the underlying emergency determines how quickly intervention must occur:

  • Cord prolapse or severe abruption: 5-10 minutes before permanent damage likely
  • Category 3 fetal heart rate tracings: 10-20 minutes for optimal outcomes
  • Persistent Category 2 tracings: 20-30 minutes typically acceptable
  • Failure to progress without fetal compromise: Longer intervals may be reasonable

Common Conditions Requiring Emergency C-Sections

Fetal Distress (Abnormal Heart Rate)

Electronic fetal monitoring tracks the baby’s heart rate throughout labor. Concerning patterns indicate the baby may not be getting adequate oxygen:

  • Bradycardia: Heart rate below 110 beats per minute for more than 10 minutes
  • Late decelerations: Heart rate drops after each contraction (suggests placental insufficiency)
  • Minimal or absent variability: Loss of normal heart rate fluctuations (may indicate neurological compromise)
  • Category 3 tracing: Combination of concerning patterns requiring immediate evaluation

When these patterns appear, the medical team must assess whether the situation will resolve with position changes and oxygen administration, or whether immediate delivery is necessary.

Placental Abruption

Placental abruption occurs when the placenta separates from the uterine wall before delivery, cutting off the baby’s oxygen and nutrient supply. This emergency affects approximately 1% of all pregnancies but accounts for a disproportionate number of birth injuries.

Symptoms include sudden severe abdominal pain, vaginal bleeding (though bleeding may be concealed), uterine tenderness, and abnormal fetal heart rate. Abruption severity ranges from partial separation (allowing some continued oxygen flow) to complete separation (requiring delivery within minutes to prevent fetal death).

Umbilical Cord Prolapse

Umbilical cord prolapse is one of the most time-critical obstetric emergencies. The umbilical cord slips through the cervix before the baby, becoming compressed between the baby’s body and the birth canal. This compression cuts off the baby’s oxygen supply almost completely.

Cord prolapse requires immediate C-section—often within 10 minutes or less. The medical team typically has the mother assume a knee-chest position to relieve pressure on the cord while rushing her to the operating room. A healthcare provider may manually hold the baby’s head away from the cord during transport.

Prolonged Labor and Failure to Progress

While not always an emergency, labor that fails to progress despite appropriate interventions can eventually compromise the baby. Prolonged labor increases infection risk, causes maternal exhaustion, and may indicate cephalopelvic disproportion (baby too large for the birth canal).

Cephalopelvic disproportion occurs in approximately 1 out of 250 pregnancies, according to the American College of Nurse-Midwives. When labor stalls for hours without progress, and the baby shows signs of stress, C-section becomes necessary to prevent gradual oxygen deprivation.

Uterine Rupture

Uterine rupture—when the uterine wall tears—is a catastrophic emergency most common in women with prior C-section scars. Symptoms include sudden severe pain, loss of fetal heart rate, maternal hemorrhage, and loss of uterine contractions.

Uterine rupture demands immediate surgical intervention to save both mother and baby. Delays of even 10-15 minutes can result in fetal death or severe brain damage from oxygen deprivation.

Other Emergency Situations

Additional conditions that may necessitate emergency C-section include:

  • Maternal hemorrhage: Severe bleeding threatening maternal stability
  • Eclampsia: Seizures related to dangerously high blood pressure
  • Fetal malposition: Breech, transverse, or other positions preventing safe vaginal delivery
  • Maternal cardiac or respiratory compromise: Medical conditions preventing continued labor

Consequences of Delayed C-Sections

Hypoxic-Ischemic Encephalopathy (HIE)

As discussed earlier, HIE represents the primary brain injury from oxygen deprivation during delayed C-section. HIE severity is classified into three grades:

HIE SeverityClinical FeaturesLong-Term Outcomes
Mild HIEIrritability, poor feeding, mild tone abnormalities for 24-48 hoursGenerally normal development; minimal long-term effects in most cases
Moderate HIELethargy, significant tone abnormalities, seizures, feeding difficulties lasting days30-50% risk of permanent disability including cerebral palsy, developmental delays, learning disabilities
Severe HIEComa, absent reflexes, severe seizures, multi-organ dysfunction60-75% mortality or severe permanent neurological impairment; survivors typically have significant disabilities

Early recognition and treatment with therapeutic hypothermia (brain cooling) within 6 hours of birth can reduce the severity of HIE outcomes, but only if the injury hasn’t progressed too far.

Cerebral Palsy

Cerebral palsy (CP) describes a group of permanent movement disorders caused by brain damage before, during, or shortly after birth. When HIE occurs from delayed C-section, cerebral palsy often results.

Data from a large study of 6,994 infants with HIE, published in Pediatric Research, found that 7.5% developed cerebral palsy. Spastic cerebral palsy, characterized by stiff and difficult movement, occurs in approximately 70-90% of all cerebral palsy cases.

Children with cerebral palsy from birth injury may experience:

  • Difficulty with movement and coordination
  • Speech and communication challenges
  • Intellectual disabilities (in about 30-50% of cases)
  • Seizure disorders
  • Vision and hearing impairments
  • Feeding and swallowing difficulties

The severity ranges from mild (able to walk independently with minor coordination issues) to severe (requiring wheelchair and complete assistance with daily activities).

Developmental Delays and Cognitive Impairment

Even when children with HIE don’t develop cerebral palsy, they frequently experience developmental delays. The same large study found that 11.8% of HIE infants had delayed development identified during follow-up assessments.

These developmental challenges may include:

  • Delayed motor milestones (rolling, sitting, walking)
  • Speech and language delays
  • Learning disabilities requiring special education
  • Executive function difficulties (planning, organization, impulse control)
  • Memory and attention problems

Some developmental delays only become apparent as the child grows older and faces more complex academic and social demands.

Other Neurological Conditions

Beyond cerebral palsy and developmental delays, delayed C-section brain damage can cause:

  • Autism spectrum disorders: 1.4% of HIE infants in the research cohort
  • Sensorineural hearing loss: 3.0% of HIE infants, often requiring hearing aids or cochlear implants
  • Vision impairment: Damage to visual processing areas of the brain
  • Epilepsy: Seizure disorders developing months or years after the initial injury
  • Behavioral and psychiatric conditions: ADHD, anxiety, and mood disorders at higher rates than the general population

Long-Term Outcomes Data

The sobering reality of severe HIE from delayed emergency C-section is reflected in outcome statistics:

  • Mortality rate: Overall HIE mortality is 4.6%, but rises to 40-60% for severe cases by age 2
  • Severe disability: Among severe HIE survivors, approximately 80% develop serious long-term complications
  • Normal development: In moderate HIE, about 40% of infants achieve normal early development
  • Combined poor outcomes: Nearly half of newborns with HIE either died or had major neurodevelopmental disability at 18-month follow-up in one study

These statistics underscore why timely recognition and response to fetal distress is so critical—the window to prevent permanent injury is measured in minutes, not hours.

Why C-Sections Get Delayed: Medical Negligence vs. Unavoidable Delays

Not every delayed C-section represents medical malpractice. Understanding the difference between negligent delays and unavoidable circumstances is essential.

Failure to Monitor Fetal Distress

Continuous fetal monitoring is standard during labor, yet failures in monitoring remain a leading cause of preventable brain damage:

  • Inadequate monitoring frequency: Missing critical changes in fetal heart rate patterns
  • Misinterpretation of tracings: Failing to recognize Category 2 or 3 patterns requiring intervention
  • Ignoring warning signs: Dismissing concerning patterns as “normal variants”
  • Equipment malfunction: Not recognizing when monitoring equipment isn’t functioning properly

When medical staff fail to monitor properly or ignore clear warning signs on the fetal heart rate tracing, they delay the decision to perform C-section—allowing preventable brain injury to occur.

Misdiagnosis or Delayed Diagnosis

Correctly identifying obstetric emergencies requires skill and vigilance. Diagnostic errors that lead to delayed C-sections include:

  • Missed placental abruption: Attributing bleeding or pain to less serious causes
  • Unrecognized cord prolapse: Failing to perform timely cervical exam when membranes rupture
  • Failure to diagnose cephalopelvic disproportion: Allowing exhausting labor to continue when vaginal delivery isn’t possible
  • Missed uterine rupture: Not recognizing signs of catastrophic uterine tear

Medical professionals must maintain a high index of suspicion and act on incomplete information when a baby’s life is at risk.

Hospital Understaffing

Even when doctors recognize the need for emergency C-section, hospital resource limitations can cause dangerous delays:

  • No available operating room: Waiting for another surgery to finish or for room turnover
  • Insufficient nursing staff: Delays in assembling the surgical team
  • Anesthesia unavailability: Single anesthesiologist tied up with another emergency
  • Inadequate obstetric coverage: On-call physician must travel to the hospital

ACOG guidelines state that hospitals offering labor and delivery services must have the capability to perform emergency C-sections rapidly. When hospital administrative decisions about staffing levels prevent this capability, resulting injuries may constitute institutional negligence.

Poor Communication Among Medical Team

Emergency C-sections require seamless coordination among obstetricians, anesthesiologists, nurses, pediatricians, and operating room staff. Communication breakdowns cause preventable delays:

  • Failure to clearly communicate urgency level
  • Nurses not promptly notifying physicians of concerning changes
  • Inadequate handoff communication during shift changes
  • Confusion about who has decision-making authority

When Delays Are Not Negligent

Some delays occur despite appropriate medical care and don’t constitute malpractice:

  • Reasonable response time: A 25-minute decision-to-incision time for a Category 2 situation that resolves with delivery
  • Necessary preparation: Time required to safely administer anesthesia and prepare the surgical field
  • Maternal factors: Anatomical challenges or medical conditions requiring additional precautions
  • Appropriate clinical judgment: Attempting less invasive interventions first when appropriate for the situation

Medical malpractice requires proving that care fell below the accepted standard, and that this substandard care directly caused injury. Not every bad outcome means malpractice occurred.

What to Do If You Suspect Delayed C-Section Caused Injury

Document Everything

If you suspect your baby’s brain damage resulted from delayed C-section, begin documenting immediately:

  • Write down everything you remember about labor and delivery while memories are fresh
  • Note any concerns you expressed to medical staff during labor
  • Document all medical appointments, diagnoses, and treatments your baby receives
  • Keep copies of hospital bills, insurance statements, and out-of-pocket expenses
  • Take photos and videos of your child’s condition and progress
  • Maintain a journal of how the injury affects your family

Request Medical Records

You have the legal right to complete copies of all medical records. Request:

  • Complete labor and delivery records, including all nursing notes
  • Fetal heart rate monitoring strips (the actual tracings, not just interpretations)
  • Anesthesia records showing timing of events
  • Operating room logs documenting decision-to-incision time
  • Newborn intensive care unit records
  • All diagnostic imaging and test results

Medical records belong to you. Hospitals must provide copies within reasonable timeframes, though they may charge copying fees.

Consult Medical Experts

Understanding whether delays in your case constituted malpractice requires expert medical analysis. Seek consultations with:

  • Pediatric neurologists: To understand the cause and extent of your child’s brain injury
  • Developmental specialists: To assess your child’s needs and prognosis
  • Medical-legal experts: Physicians who review cases for potential malpractice

Many birth injury attorneys work with medical experts who can review records and provide preliminary assessments at no cost to you.

Understand Your Legal Rights

If medical negligence caused your child’s brain damage, you may be entitled to compensation for:

  • All medical expenses (past and future)
  • Costs of therapy, equipment, and specialized care
  • Home modifications and accessibility accommodations
  • Lost earning capacity if the injury affects future employment
  • Pain and suffering
  • Reduced quality of life

Important for New York Families: New York has specific statutes of limitations for medical malpractice claims. Generally, you must file suit within 2.5 years of the malpractice, but birth injury cases have special provisions. For injuries to children, the statute may be extended, but consulting an attorney promptly protects your rights. Don’t wait years to seek legal advice—evidence becomes harder to obtain and expert witnesses’ memories fade with time.

Consulting with an experienced birth injury attorney costs nothing—most work on contingency, meaning they only get paid if they recover compensation for you. An initial consultation can help you understand whether you have a valid claim and what your next steps should be.

Frequently Asked Questions

How quickly should an emergency C-section be performed?

The appropriate timing depends on the urgency of the situation. While hospitals should have the capability to begin emergency C-sections within 30 minutes, the most critical emergencies (like cord prolapse or severe placental abruption) may require delivery within 10-20 minutes to prevent brain damage. The American College of Obstetricians and Gynecologists states that decision-to-incision time should be tailored to the specific clinical situation rather than following a rigid time standard.

What is the 30-minute rule for C-sections?

The “30-minute rule” historically referred to the standard that hospitals should be able to perform an emergency C-section within 30 minutes of the decision to operate. However, ACOG clarified in 2017 that this benchmark is not evidence-based and should not be applied rigidly. The rule originated from 1980s hospital capability surveys, not clinical outcome data. Modern practice focuses on appropriate response times based on the severity of the emergency rather than a one-size-fits-all time limit.

Can a delayed C-section cause permanent brain damage?

Yes, a delayed C-section can cause permanent brain damage when the delay allows oxygen deprivation to continue. This oxygen starvation leads to hypoxic-ischemic encephalopathy (HIE), which affects 1-6 infants per 1,000 births in the United States. Research shows that 40-60% of infants with HIE either die by age 2 or develop severe disabilities. The extent of brain damage depends on how long oxygen deprivation continues and how severe the underlying emergency is.

How do I know if my baby’s brain damage was caused by delayed C-section?

Determining causation requires expert medical analysis of the complete medical record, including fetal heart rate monitoring strips, timing of events, and the baby’s condition at birth. Key indicators include documented fetal distress on monitoring, significant delay between recognizing the problem and performing delivery, low Apgar scores at birth, need for resuscitation, HIE diagnosis, and abnormal brain imaging showing oxygen-deprivation injury patterns. An experienced birth injury attorney can help arrange for medical experts to review your case.

What are the signs of fetal distress that should trigger emergency C-section?

Warning signs that may require emergency C-section include: persistent abnormally slow fetal heart rate (bradycardia below 110 bpm for more than 10 minutes), late decelerations where heart rate drops after each contraction, minimal or absent heart rate variability, sudden severe abdominal pain suggesting placental abruption, prolapsed umbilical cord, or Category 3 fetal heart rate tracing combining multiple concerning patterns. Medical staff must continuously monitor these signs and respond appropriately when they appear.

What is hypoxic-ischemic encephalopathy (HIE)?

Hypoxic-ischemic encephalopathy (HIE) is a type of brain damage caused by reduced oxygen (hypoxia) and decreased blood flow (ischemia) to the brain. It’s the primary brain injury resulting from delayed emergency C-section. HIE is classified into three severity levels: mild (generally recovers), moderate (30-50% risk of permanent disability), and severe (60-75% mortality or severe impairment). Treatment with therapeutic hypothermia (brain cooling) within 6 hours of birth can reduce the severity of outcomes, but cannot reverse damage already done.

Can delayed C-section cause cerebral palsy?

Yes, delayed C-section can cause cerebral palsy when the resulting oxygen deprivation damages the parts of the brain controlling movement and posture. Research on 6,994 infants with HIE found that 7.5% developed cerebral palsy. Spastic cerebral palsy, characterized by stiff muscles and difficult movement, occurs in 70-90% of all cerebral palsy cases. The severity ranges from mild coordination issues to severe impairment requiring wheelchair use and complete assistance with daily activities.

What conditions require emergency C-section?

Common conditions requiring emergency C-section include: fetal distress with abnormal heart rate patterns, placental abruption (placenta separating from uterine wall), umbilical cord prolapse (cord slipping through cervix before baby), uterine rupture, severe maternal hemorrhage, eclampsia (seizures from high blood pressure), prolonged labor with fetal compromise, cephalopelvic disproportion (baby too large for birth canal), and certain fetal malpositions like breech presentation. The urgency varies—cord prolapse demands delivery within 10 minutes, while other situations may allow 20-30 minutes.

Is every delayed C-section medical malpractice?

No, not every delayed C-section constitutes medical malpractice. Malpractice requires proving that medical care fell below the accepted standard of care and that this substandard care directly caused injury. Some delays occur despite appropriate care—for example, reasonable time needed to safely administer anesthesia and prepare the operating room, or appropriate clinical judgment to try less invasive interventions first when medically reasonable. However, delays from failure to monitor fetal distress, misdiagnosis of emergencies, hospital understaffing, or ignoring clear warning signs may constitute negligence.

How long do I have to file a birth injury lawsuit in New York?

New York generally requires medical malpractice lawsuits to be filed within 2.5 years from the date of the malpractice. However, birth injury cases involving children have special provisions. For injuries to minors, the statute of limitations may be extended, with the time period sometimes not beginning until the child turns 18 (though there are exceptions and complications). Because these laws are complex and evidence preservation is critical, it’s essential to consult with an experienced birth injury attorney as soon as you suspect malpractice—don’t wait years to seek legal advice.

What long-term outcomes can I expect for my child with HIE from delayed C-section?

Long-term outcomes depend primarily on HIE severity. Mild HIE generally results in normal development with minimal long-term effects. Moderate HIE carries a 30-50% risk of permanent disability including cerebral palsy, developmental delays, and learning disabilities, though about 40% of children achieve normal early development. Severe HIE has the worst prognosis: 60-75% mortality or severe permanent neurological impairment, with approximately 80% of survivors developing serious complications. Additional possible outcomes across all severity levels include autism spectrum disorders (1.4%), sensorineural hearing loss (3.0%), vision impairment, epilepsy, and behavioral conditions.

What should I do if I think hospital understaffing caused the delayed C-section?

If you believe inadequate staffing contributed to dangerous delays, document everything you observed about staffing levels, wait times, and staff comments about being short-handed. Request complete medical records including operating room logs showing when spaces were available, anesthesia department schedules, and nursing staffing records (though hospitals may resist providing internal staffing documents). Consult with a birth injury attorney who can investigate whether the hospital’s administrative decisions about staffing levels violated ACOG guidelines requiring the capability to perform emergency C-sections rapidly. Institutional negligence claims may be viable when hospital policies prioritize cost savings over patient safety.

Conclusion

When medical professionals recognize obstetric emergencies and respond with appropriate urgency, emergency C-sections save lives and prevent brain damage. The difference between a healthy baby and one with permanent neurological injury often comes down to minutes—minutes spent monitoring for warning signs, minutes deciding that emergency delivery is necessary, and minutes mobilizing the surgical team.

While not every delayed C-section represents medical malpractice, preventable delays from inadequate monitoring, misdiagnosis, understaffing, or poor communication can cause devastating, lifelong consequences. If your child suffered brain damage from what you suspect was a delayed emergency C-section, understanding the medical facts and your legal rights is the first step toward securing the resources your child needs for a lifetime of specialized care.

Consulting with medical and legal experts costs nothing and can provide clarity about whether malpractice occurred and what options you have to pursue justice and compensation for your family.

Need Legal Help?

Connect with experienced New York birth injury attorneys. Free consultation.

Confidential · No Obligation

About the author

Picture of Birth Injury Law NY Editorial Team
Birth Injury Law NY Editorial Team
The Birth Injury Law NY editorial team researches and explains complex birth injury and medical malpractice topics for New York families. Our content is based on New York statutes, medical research, and legal precedents.
Picture of Birth Injury Law NY Editorial Team
Birth Injury Law NY Editorial Team
The Birth Injury Law NY editorial team researches and explains complex birth injury and medical malpractice topics for New York families. Our content is based on New York statutes, medical research, and legal precedents.

Related Posts

Scroll to Top