fixed resize and layering