moved location fragment initialization to fragment manager for more flexibility