adding image swapping with image click