Added rudimentary time-based animation