Added the collapse sidebar directive.