fix the bug of connot scrolling