Update main.lua

Make the animation continuos.