Wrong value for min/max slope lables when % is selected

Issue #404 resolved
kiozen created an issue

The min/max labels for the slope along the track display wrong values when units are [%]