update example for isMobile and isTablet flag for views