minor changes
show and hide sidebar when clicked the second time