fix for initializing lazyload after window has loaded