fixed bug of scroll