sidebar conditionals almost working
Merge pull request #91 from marklc44/master

sidebar conditionals almost working