change backgronud when image is loaded