Former women's tennis star Ana Ivanovic revealed that panic attacks factored in to her decision to retire from the sport at 29 years old.