solve bug happening when body.clientheight is less than window.innerHeight