fixed mainUI height with js
refs #t93 done