added basic drop and drag event handlers