refactored layout; discovered scene root as the key to resizing