downloading photo with an asynctask, use getCurrentItem for index of ViewPager