add view mode setting