Sidebar alignment. Fixes #599