Animation Frame: disable any browser work in pause mode

stop animation frame when in pause
restart animation frame when out of pause
this make the browser do nothing in pause mode

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>