layer flags & smoothscroll