Host frame: created showFrame() and hideFrame() methods