moved dragEnd fire event into base-card
added returns (to speed up js after compilation)