bug978938 - Right to left implementation for events

https://bugzilla.mozilla.org/show_bug.cgi?id=978938