update style for narrow view