set view context