Bubble growth and collapse in viscoelastic liquids analyzed