Added window_height parameter.