use view context to determine mobile/tablet rendering