add a bottomPadding property that gets added in at the end of the totalHeight calculation