adds drag and drop functionality to buffer_simple example