Updated code to ensure that it adheres to the project conventions
Added back in the seperate mouseWheeelPreventDefaultoption