changed imgdrag prevnert to use event delegation