Solved issue of Asynchronous loading of images