Fix an issue with sidebar links

fixes #3