Added binding for dragend so that when a mousedown leads to a drag the tap is not left in progress