layout drag/drop example

- added an example to drag/drop between layouts
- added a layout function to getIndex from coords
- use currentTarget rather than target when dispatching custom events