fixed the sidebar system for real this time. i think, i should probably test the other templates but i should save my changes