set thumbnail heights after window load