canvas create timeline bar