added preference to enable/disable the right sidebar
documentation update