added option to hide secondary sidebar