made some ui heights dynamic with js