Ui animation fix

Fixing the replay animation.
- Used a function for popover text display
- Cleared extra data returned from the /dag request