refactor view styler