make only 2d mousewheel function virtual