Panel destroy adjustment

looking to keep wrapper in tact when used by other panels.
issue https://github.com/jquery/jquery-mobile/issues/6490