fixing lazyload for single-page-app