making equal heights to row elements