use dummy to calculate scroll