A partnership of 89 between Ben Stokes and Jos Buttler took the game away from Sri Lanka, who now need at unlikely 274 – with just six second-innings wickets intact – to stave off a whitewash