add expander class to views pre-render