When the user is inactive for some amount of time - Baby Globe should play a "transition to dreaming" animation, then loop the dreaming animation of Baby Globe.
When the user becomes active again - Baby Globe should play a "transition from dreaming" animation, then loop the respective idle animation.
On Minerva Baby Globe should be woken up only when in view. In order to not use MutationObserver for this - scroll tracking will be used and the "wake up" call will happen only if the user scrolls to the top of the page.
What will be considered user activity:
- Mouse movement
- Mouse click
- Scroll