add hide/showSubview methods