revised reactivate sidebar function to meet logic
Merge branch 'master' of https://github.com/sylverios/dwh_skeleton