change to timestamp-based animation