Recovering from 24/2, Sri Lanka survived a tense finish to pull off the second-highest run chase in ODI cricket