fix close toggle not working for left sidebar (ref #48)