Added 'bounds_changed' event listener and bounds object to the directive