Dr Mahathir Mohamad says working with the opposition was a hard pill to swallow, but it had to be done to save Malaysia from Prime Minister Najib Abdul Razak.