added asynctask to gallery, but images flash on view load