Bug fixes and compatability check

Sorted out a few minor bugs, removed much of the unnecessary css info
and made the timeline a bit more robust in other css environments.
Stopped a few inherited properties from causing issues with the main
functionality.