fixes #46 - better event handling for mobile firefox