add top-level rotate for animated gif