Swann strikes put England on top against Sri Lanka