fixed drag events, tweaked allowed to move implementation