proper check for image complete in swiper js + add support for responsive images

see also https://github.com/aFarkas/lazysizes/issues/19