don't set scroll dimensions twice on init