Removed unused css class
Better rows amount calculation