drag and drop functionality. Working but not performing intuitive actions