switching tracked joints every 5 seconds