cleaning up y axis calculation, time formatting
adding duration to tooltip