set height of code window based on height of surrounding window