Novak Djokovic had to overcome a sluggish start before he defeated Gregor Dimitrov 7-6 6-1 to reach the fourth round of the Indian Wells ATP Masters.