limited grid to 3 rows