made sidebar inclusion backwards compatible (fixes #6)