Add back and forth switching timer example