added eventListener for drop