got time based animation working