simplify layout state
rename U to hasClass