#736 implement the show/hide, list operations, expand operations buttons - also fixed up some gremlins in the expandable directive which was sometimes getting confused if it was open or not etc