ioslides: handle case of no parent