addded view_mode in Quiz