improve stepUp/stepDown for input (fixes Issue #283)