encoder: counts up for forw. and backw. but is stable