add base.trace
refactor view scrolling lock/unlock