Fixed bug in collapse sidebar.