fix removing dragged class by handling dragend event