added map/list change with fragments instead of activities