Tweak timeline for simpler use

 - No reliance on CSS styling
 - Automatic resizing with window resize
 - Robustness to NaN and non-Date objects