layering and animation improvement