sidebar now expands to include subdirectories, formatting needed