Fixed iPad bug for elevation profile