switching logic for mousewheel conditional