#4630 auto add scroll and resize stuff