Added usage of scope for resizing for scaling.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>