added positioning an size properties
added missing event params for handlers in index.js

they work in firefox too now