Implements mousewheel behaviour also for non-Firefox browsers