fix duration property

use computed property helpers to do the calculation.

http://www.thesoftwaresimpleton.com/blog/2014/02/19/reduce-computed/