added listeners to image