adjust cell layouts