Fixed time bug; need to flip animation when timeout occurs.