correcting the sidebar

Thanks to a post by @PerJensen