Loading image and freeze issue in home page