hide/show directory contents

clicking header of directory toggle visibility of directory contents