implemented change image on image click