styled sidebar, added js for buttons and showing categories