added rough proof of concept for cyclical animation