top row text hide logic