Make index display correctly on iPhone