added click handler to image player