added new handler for remove inflated component.
need to read about .getChildCount