be smarter about setting fixed window height for grid view