change pic to loading when go to other page