Resolved Undo and Erase issues.Added accordian sidebar.