re-adjust sidebar hierarchy