fix bug of scroll box