add onclick also for the image