solve docHeight when it's display is none