match loading state height with rendered content height, cleanup css