layout photos and flags fixed