Added max-height to windows