modified history css and add export button with basic functionality