adjust scroll on restore