Rory McIlroy had a rollercoaster of a third round, but remains in contention heading into the final round of the PGA Championship.