added dragging animation