[Sidebar] Expand/collapse buttons for bookmarks sidebar

Partially solves #1019. Still left to figure out how to make the state remembered.