allows reacting to either clockwise or counter-clockwise encoder turns