fix the problem of scroll