added mouse support for firefox