Adds looping feature for persistent animation