delay resize of hidden sections to the time they become visible

if on resize there are hidden sections we set timer to check their
visibility change and resize them then.
+minor: variables style naming change