set temp height and overflow:hidden for slider to avoid FOUT

Signed-off-by: Erica <e@energy7.com>