limit header height to window height