added support for dragend