Refactored hourly slider code

Fixed second run not selecting correct slider value when path clicked
Minor refactoring
Added optional units

m, ft
m/s, ft/s