add example code for drag menu