Modify totalHeight to always return the height of the items since the scrolling div never needs to be taller than the # of rows.