fixes rotation after popping view controller off stack