Added toggle behaviour for hide/show folder contents.