position:absolute root element during animation

So that it doesn't wiggle in versions of Safari on desktop and iOS fix
the position of the root element during the animation.