svg timeline work and refactoring.