Added history option to deactivate history
Cleaned up CSS:
 - Repeated rule declarations
 - Unnecessary important properties
 - Demo styles moved to demo file
 - Unused styles removed