Increment and decrement number mapping adjusted to work in windows