percentageHeight and updateNumberOfRows are commented