Improved handling of touch tracking
Only resume animation if it is already paused.
Better handling of touch tracking.