fixed mouse wheel event for firefox

firefox uses a different mouse event, this commit fixes the issue