partial implementation of https://github.com/scottjehl/picturefill/issues/214:
fixes: https://github.com/scottjehl/picturefill/issues/314, https://github.com/scottjehl/picturefill/issues/255