Changed event firing to make compatible with multiple sidebars

Added embedding data objects with event so we can check which sidebar fired the event. You can handle event like that: map.on('sidebar.close', function(e) { if (e.options === sidebar.options) {...}  })