cleaned up style structure and got sidebar behavior working