Absolute positioning for animated element parent