adjust window's height
add foldings