Fixed sidebar logic and class spelling typos