updates on replacement logic to fix jerkiness on resize, ie8 and older fix to reflect core picturefill changes