hide/display directories

clicking header of directory toggle visibility of directory contents