Sri Lanka triumph in thrilling climax