todomvc: conditionally hide/show undo/redo