move foundation by js function setInterval

learn how to use javascript function setInterval and clearInterval to
control movinig elements