Added reset encoder ticks