fixed jquery duplicate entries for img click