Add fix for Opera 12 (and above)

Simply added a `case "otransitionend":` line to the `handleEvent` method to make it work in the latest Opera. Looks like they changed the `event.type` string to lowercase in Opera 12 :)