Added displayHeights method to improve tracking in log.

Made div under idContainerPrimary a flex component, improving results.