Fixes event data

Event data ain't passed right when the event occurs. This also maps the
different status information into a nice structure and omits the
properties `elWidth` and `windowWidth` which can be fetched easily by
the DOM directly.
Merge pull request #84 from witrin/trigger

Fixes event data