animation layout fix