adjust height after appending content