Add preliminary support for sidebar text collapse