use switch statement for placing step dependant operations.
(missed wheelEvent function in last commit)