improve mouse operation
support FireFox