better pushView container detection