add call withing window.load to avoid overlap of images