Added history option to deactivate history

Also Cleaned up CSS:
 - Repeated rule declarations
 - Unnecessary important properties
 - Demo styles moved to demo file
 - Unused styles removed