Add show and hide functionality to the collapse.