title: How to reset the slider input when it completes its task in shiny context
body: <p>As shown in the image below, I have a slider input that is animated by clicking the play button. It works perfectly except it does not get back to the starting point (here year=2010) when it reaches out to the maximum point (here year=2050). Is there an easy way to fix this?</p>
  <p>Thanks,</p>
  <p>Nader</p>
  <p><a href="https://i.stack.imgur.com/dBscU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dBscU.png" alt="enter image description here" /></a></p>