updated layering in animation