add invert and summarize toggles for table