Angelo Mathews steadies Sri Lanka in pursuit of big first innings lead