Refactored timeline vis to use computed property pattern for width and height