Keeping panel wrapper if still in use

related https://github.com/jquery/jquery-mobile/issues/6490