BUG:fix bug of autoscroll when screan size is not enough